/*
 * 登录方式选择组件
 */
<template name="login-type">
    <radio-group class="radio-group" bindchange="radioChange">
        <label class="radio" wx:for="{{types}}" wx:key="{{item.name}}">
            <radio value="{{item.name}}" checked="{{item.checked}}" />{{item.value}}
        </label>
    </radio-group>
</template>

<script>
    export default {
        name: "ys-login-type",
        props: {
            types: {
                type: Array,
                default: () => ['密码登录', '验证码登录']
            }
        }
    }
</script>

<style lang="scss">
    .logo {
        .logo-img {
            
        }
    }
</style>